.login {
  width: 100%;
  height: 100%;
  background-image: url('images/bg.jpg');
  background-size: 100% 100%;
}
.login .login-header {
  position: relative;
  height: 80px;
  width: 100%;
  background-color: rgba(21, 20, 13, 0.5);
}
.login .login-header img {
  line-height: 80px;
  width: 50px;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translate(100px, -50%);
}
.login .login-header h1 {
  color: white;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translate(160px, -50%);
}
.login .login-content {
  width: 400px;
  height: 300px;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  padding: 20px 40px;
}
.login .login-content h2 {
  text-align: center;
}
.login .ant-form-item-explain-error {
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  background-color: white;
  text-overflow: ellipsis;
}
.login .ant-form-item-explain-error div[role="alert"] {
  display: inline;
}
